package com.own.business.resource.core.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Getter;

import java.io.Serializable;

/**
 * SignatureModel
 *
 * @author chenxueli
 * @date 2023-07-12 08:49:38
 */
@Getter
@Builder
public class SignatureModel implements Serializable {

    @Schema(title = "文件ID")
    private final Long fileId;

    private final String accessId;

    private final String policy;

    private final String signature;

    private final String dir;

    private final String host;

    private final Long expire;

    @Schema(type = "云服务类型 'aliyun' | 'qiniu' | 'tencent' | 'minio' | 'huawei'")
    private final String type;

}
